[record]
[if: form_param: "Database Name" == field: "Database Name"]
[set_var: "found"="true"]
[field: "Database Name"] Database Detail
[If: lasso_action=="add"]
[set_var: "textaction"="Added"]
[else: If: lasso_action=="update"]
[set_var: "textaction"="Updated"]
[else: If: lasso_action=="delete"]
[set_var: "textaction"="Deleted"]
[else]
[set_var: "textaction"="search"]
[/if]
[if: lasso_action=="search"]
[include: "Detail.txt"]
[else: if: database_name=="Lasso_Security.fp3" && lasso_action=="delete"]
[field: "Database Name"] Database [var: "textaction"]
[include: "default.html"]
[else]
[If: database_name=="Lasso_Fields.fp3"]
Field [var: "textaction"]
[else: if: database_name=="Lasso_Users.fp3"]
User [var: "textaction"]
[else: if: database_name=="Lasso_Security.fp3"]
[field: "Database Name"] Database [var: "textaction"]
[else]
ERROR
[/if]
[inline: search, database="Lasso_Security.fp3", layout="main", op="eq", "Database Name"=field:"Database Name"]
[record]
[if: form_param: "Database name" == field: "Database Name"]
[include: "Detail.txt"]
[/if]
[/record]
[/inline]
[/if]
[/if]
[/record]
[if: var: "found" != "true"]
[include: "error_noresult.html"]
[/if]